package com.powernode.ssm.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@ApiModel("登录请求体")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginVo {

	@ApiModelProperty(value = "用户id")
	@NotNull(message = "userid不能为空")
	private String userid;

	@ApiModelProperty(value = "用户密码")
	@NotNull(message = "password不能为空")
	private String password;

	@ApiModelProperty(value = "携带token")
	private String token;


}
